* Stata 15.1 MP was used

clear all

** CHANGE DIRECTORY TO YOUR WORKING DIRECTORY
global dir "C:\Users\che-y\Dropbox\Shared\Research\Residential Water\"

global analyze "$dir\Analyze"
global data "$dir\Data"
global results "$dir\Results"


capture log close
log using "$results\Master Log", replace

do "$analyze\Set globals"
* do "$analyze\Create. Start.do"	/* This file anonymized the raw data */
do "$analyze\Create. Main.do"

do "$analyze\Figure 1. Time series.do"
do "$analyze\Figure 2. Window plots.do"
do "$analyze\Figure 3. Event study.do"
do "$analyze\Figure 4. Deadweight loss.do"

do "$analyze\Figure A1. Distributions.do"

do "$analyze\Table 1. Observations.do"
do "$analyze\Table 2. Descriptives.do"
do "$analyze\Table 3. Main.do"
do "$analyze\Table 4. Binned.do"
do "$analyze\Table 5. Sensitivity.do"
do "$analyze\Table 6. Quartiles.do"
do "$analyze\Table 7. Subgroup.do"
do "$analyze\Table 8. Month of year.do"
do "$analyze\Table 9. Day of week.do"
do "$analyze\Table 10. Bathroom.do"
do "$analyze\Table 11. Cost benefit.do"

do "$analyze\Table A1. Functional forms.do"
do "$analyze\Table A2. Mean reversion.do"


log close

